package pkmn.move;

import pkmn.battle.BattlePokemon;
import pkmn.exception.DeathException;
import pkmn.status.BattleStatusEnum;

public class Recharge extends IndirectAction {

    @Override
    public void execute(BattlePokemon battlePokemon) throws DeathException {
        if (!battlePokemon.haveBattleStatus(BattleStatusEnum.recharge)) {
            battlePokemon.setBattleStatus(BattleStatusEnum.recharge);
        }
    }
}
